package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.text.Convert;
import com.ruoyi.common.exception.ServiceException;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.domain.StockMainBoard;
import com.ruoyi.system.mapper.StockMainBoardCustomMapper;
import com.ruoyi.system.mapper.StockMainBoardMapper;
import com.ruoyi.system.service.IStockMainBoardCustomService;
import com.ruoyi.system.service.IStockMainBoardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 股票主板Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-02
 */
@Service
public class StockMainBoardCustomServiceImpl implements IStockMainBoardCustomService
{
    @Autowired
    private StockMainBoardCustomMapper stockMainBoardCustomMapper;



    /**
     * 修改股票主板
     * 
     * @param stockMainBoard 股票主板
     * @return 结果
     */
    @Override
    public int updateStockMainBoard(StockMainBoard stockMainBoard)
    {
        stockMainBoard.setUpdateTime(DateUtils.getNowDate());
        return stockMainBoardCustomMapper.updateStockMainBoard(stockMainBoard);
    }


}
